Microsoft to cut 1,850 jobs in further retreat from smartphones