Margot Robbie to star as Maid Marian in Robin Hood film