Spontaneous lateral phase separation of AlInP during thin film growth and its effect on luminescence