Vanessa Hudgens: ‘Posing nude made me smarter’