Alternating-gradient focusing and deceleration of large molecules