Phases of quantum gravity in AdS3 and linear dilaton backgrounds