molecular mechanics definition