‘Aamir Khan writes his dialogues by hand to memorise them, Arshad Warsi thrives on improvisation,’ says Rajkumar Hirani