rape attempt legal definitions