Apple pinched by pandemic; profit, iPhone sales decline