Electronic structure of wurtzite and rocksalt InN investigated by optical absorption under hydrostatic pressure