More than £1.4 million in funding has been secured to restore Brighton’s historic Royal Pavilion Garden.