Tangential category and critical point theory