General formulation of digital in-line holography from correlation with a chirplet function