Energy-based analytical model to predict the elastic critical behaviour of curved panels