Controlling the energy of defects and interfaces in the amplitude expansion of the phase-field crystal model.