Internal magnetic fields in the high-Tc superconductors La1.8Sr0.2CuO4 and YBa2Cu3O7−δ from muon spin rotation experiments