Investigations on surface stability and thin film growth of organometal halide perovskites