Boundary crossing problems for one-dimensional Markov processes to moving boundaries