Measuring the complete transverse spatial mode spectrum of a wave field