Organic–inorganic hybrid perovskites based on methylamine lead halide solar cell