who wrote midnight cowboy song