Nokia girds for battle in smartphone market