High Q-factor distributed bragg reflector resonators with reflectors of arbitrary thickness