Study of laser beam propagation in microholes and the effect on femtosecond laser micromachining