Galaxy clusters and groups in the ALHAMBRA survey