Margot Robbie to star in period love drama