Lectures on gauged supergravity and flux compactifications