A comparison of two mediation analysis methods with sequential mediators