Phase diagram for strongly interacting matter in the presence of a magnetic field using the Polyakov–Nambu–Jona-Lasinio model with magnetic field dependent coupling strengths