Influence of a uniform coronal magnetic field on solar p modes: coupling to slow resonant MHD waves