Complex competition between ferromagnetism and antiferromagnetism in the CMR manganites Pr1−xCaxMnO3