Plans to convert parts of a 150-year-old building into flats in the centre of Newport have been rejected