Plans to convert a Methodist Church in the East Riding into two homes have been approved by East Riding Council.