The crystallographic and magnetic structures of La1−xBaxMn1−xMexO3 (Me = Mn or Ti)