Reducing reflection losses in solar cells