The iPhone company's important Christmas quarter exceeded the Wall Street forecast in terms of both turnover and profit.