Twisted fermionic and bosonic representations for a class of BC-graded Lie algebras