The Mono- and Bichromatic Empty Rectangle and Square Problems in All Dimensions --