In situ energy dispersive x-ray reflectometry measurements on organic solar cells upon working