Plans to build 550 homes in Hertfordshire have been approved despite concerns about the impact on the green belt and traffic.