Proximity effect in ferromagnet–superconductor hybrid structures: role of the pairing symmetry