Plans to turn a vacant town centre building into a new tearoom and hotel have been approved by Bradford Council.