Friedmann equations and thermodynamics of apparent horizons.