New Materials from Dimethacrylates Bearing Phosphonic Acid and Thioether Groups