Presentation attack detection and biometric recognition in a challenge-response formalism