Specific heat of La1.875−xNdxSr0.125CuO4: Magnetic and structural transitions