Calibration of pyranometers in inclined and inverted positions