Contact resistance prediction and structure optimization of bipolar plates