An atlas of X- and gamma-ray pulse profiles of the Crab pulsar (PSR 0531+21): An analysis of energy and time variations