Role of configurational entropy in body-centred cubic or face-centred cubic phase formation in high entropy alloys