Single asperity nanocontacts: Comparison between molecular dynamics simulations and continuum mechanics models