β decay of exotic P and S isotopes with neutron number near 28