Enhancement of ferromagnetism by p-wave Cooper pairing in superconducting ferromagnets