Relationship of quantum-well potential profile and luminescence of InGaN/GaN heterostructures