Ericsson's profits drop, firm will cut 5,000 jobs