Rami Malek to play Freddie Mercury in Queen biopic