Forward displacement analysis of parallel mechanisms: Closed form solution of prr-3s and ppr-3s structures