Kazakhstan's Prime Minister Serik Akhmetov and his entire government have resigned, the authorities in the Central Asian country say.