Percolation transitions in d-wave superconductor–half-metallic ferromagnet nanocomposites