Mixed poloidal–toroidal magnetic configuration and surface abundance distributions of the Bp star 36 Lyn