Deputy PM says time is right for Spain to become a republic