How long were nick jonas and miley cyrus dating