On orthomodular posets