Detecting site-specific biochemical constraints through substitution mapping