Biosensor and method and instrument for deposition of alternating monomolecular layers