Transitional and accreting pulsars