A similarity solution for the Ornstein-Uhlenbeck diffusion process constrained by a reflecting and an absorbing boundary