Plans to convert a former Bishop Auckland post office into a café and flats have been approved by the council.