A simple method to generate exact physically acceptable anisotropic solutions in general relativity