Origin of bcc to fcc phase transition under pressure in alkali metals