Positive muon spin rotation study on magnetic order in La2−xMxCuO4 (M=Ba,Sr) around x=0.12