In-plane penetration depth of high-temperature superconductors with single and double CuO layers