Heat capacity of RbMnF3 and EuO near the magnetic phase transitions