Understanding the elastic relaxation mechanisms of strain in Ge islands on pit-patterned Si(001) substrates