Modified structure of protons and neutrons in correlated pairs