Theoretical study on ferromagnetic interaction in stacked diphenylcarbene polymer