Solar power becomes more competitive, investments rise in India, US