Distance to three molecular clouds in the central molecular zone