Polymorphic Lanthanide Phosphonates Showing Distinct Magnetic Behavior.