Structural, electrical, and magnetic properties in the system BaxLa1–xCoO3