Photoluminescence properties of InAs nanowires grown on GaAs and Si substrates