Spatial dynamics of second messengers: IP3 and cAMP as long-range and associative messengers