What are the key differences between endometriosis and vaginismus when it comes to painful sex?