Optical signatures of strain-induced ferromagnetism in a LaCoO3 thin film