Finland's Nokia, once the undisputed leader in mobile phones, has been struggling to respond to the challenge from smartphone makers such as Apple and Samsung.