Ultraviolet and infrared singularity structure of generic Feynman amplitudes