Dinuclear and layered copper 2-pyridylphosphonates with weak ferromagnetism observed in layer compound Cu(C5H4NPO3).