Telefonica reports declines in operating profit, sales