Anti-reflection coatings and optical interference in photovoltaics