Spin reorientation phase transitions in R2Fe14B (R = Y, Nd, Ho, Er, Tm) investigated by heat capacity measurements