Plans to build 73 homes on farmland next to a nature reserve in Wakefield have been given the go ahead.