Telefonica tells labour unions of plan to cut jobs in Spain