Metal grid contact design for four-terminal tandem solar cells