Non-bijective canonical transformations in quantum mechanics