The nature of carrier localisation in polar and nonpolar InGaN/GaN quantum wells