Extraction of essential solar cell parameters of subcells in a tandem structure with a novel three-terminal measurement technique