Electrically assisted magnetic recording