Linear sigma model and the formation of a charged pion condensate in the presence of an external magnetic field