COBE, gravitational waves, inflation and extended inflation