Optical properties of protein monolayers during assembly