Prediction of membrane protein topology and localization