Spectacular images of our sky and galaxy have been revealed following thousands of entries to the Astronomy Photography of the Year competition.