Katy Perry Opens Up About Sex and Past Relationships