Nokia cuts R&D staff in response to sales slump