Telecoms company sells record number of smartphones in the fourth quarter, but earnings were hit by pension fund charges and superstorm Sandy costs