Pharrell Williams on motivation, his book and working with Miley